<div class="container member-container">
  <?php include $this->getViewFile('../lib/leftmenu'); ?>
  <div class="col-md-10 member-con menber-score-con">
    <div class="title mb-common-title">站内短信</div>
    <div class="content">
      <table width="886">
        <thead>
          <tr>
            <td>信息</td>
          </tr>
        </thead>
        <tbody>
          <?php
		  foreach($list as $rs){
		  ?>
          <tr>
            <td>
            <?php echo $rs['sendname'] == Yii::app()->user->username ?'您':$rs['sendname'] ?>-说<br/><?php echo $rs['note'] ?> - <?php echo date('Y-m-d H:i:s',$rs['addtime']) ?>
            </td>
          </tr>
          <?php
		  }
		  ?>
          <tr>
            <td>
            回复：<br/>
			<form action="<?php echo YzwController::U('send') ?>" method="post">
            <input type="hidden" name="uid" value="<?php echo $answerid; ?>" />
            <textarea name="note" cols="" rows="" style="width:200px; height:100px;"></textarea>
            <input name="" type="submit" value="提交" />
            </form>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class="clearfix"></div>
</div>